<?php
/**
 * Created by PhpStorm.
 * User: dust2
 * Date: 15-1-5
 * Time: 下午3:31
 */

/**
 * 角色表播种
 * Class RoleTableSeeder
 */
class RoleTableSeeder extends Seeder
{
    public function run()
    {
        DB::table('roles')->delete();

        Role::insert(['name' => 'administrator', 'label' => '管理员']);
        Role::insert(['name' => 'commonUser', 'label' => '普通用户']);

    }
}